Polishing Your Jewels
- Readying the Machine
- Readying Your Dev Tools
- Installing and Readying Java JDK
- Installing and Readying Android Studio
- Installing and Readying Android Studio on Mac & Linux
- Let’s Revise
Installing Java JDK
Now, you need to install Java JDK.
You already know java, so your JDK setup might already be done.
In case not, follow the steps provided.
The procedure for installing the Java JDK comprises four steps:
Step 1: Downloading the Executable File
• Visit: https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
• Scroll down to the bottom of this page, where the download links are provided.
• Here, you will find the link for accepting the User License Agreement. Select Accept License Agreement.
• Now, download the executable file.
• When prompted, save the executable file to your selected location on your local hard drive
Step 2: Installing the Executable File
• Double-click the jdk-11.0.3_windows-x64_bin.exe file.
• When prompted, allow Java to make changes to your system. That is, select Yes on the prompt screen.
• On the Installation window, click Next.
• On the Utility screen, select Development Tools and click Next.
Step 3: Setting Up Environment Variables
• To set the environment variables, first we need to copy the Java bin location.
• Follow the given path to access the bin folder: This Computer > C Drive > Program Files > Java > JDK > bin
• Copy the path for this bin folder. This path will look like C:\Program Files\Java\jdk-11.0.3\bin
• After copying the bin location, let’s open the Advanced system settings window by following the given path: Start Menu > Control Panel > System and Security > Advanced system settings.
• Finally, let’s add the Java bin location to the environment variables.
a. Start by clicking the Environment Variables tab.
b. Clicking on Environment Variables will open the screen shown here. Next, click on the Path component shown highlighted.
. An Edit Path Window will pop up. Click the New tab in this window.
d. On clicking the New tab, a new space will be created in the variable list. You can see it highlighted in blue here.
Paste the location of the bin folder that we had copied earlier, i.e. C:\Program Files\Java\jdk-11.0.3\bin.
After completing these steps, keep clicking OK on all windows to close them one after another. This way, you will be able to exit the installation wizard.
After installing the Java JDK, let’s quickly verify to see if the Java JDK installed fine.
a. Just go to the Command Prompt and type java hyphen version to check for the version of Java running on your system.
b. The system will output the version number.
Complete the statement given below.
The path of the ___________ folder within the Java JDK program files are copied and added to environment Variables.
Tap the correct answer to fill in the blanks
A. lib
B. gradle
C. bin
D. jre
- Readying the Machine
- Readying Your Dev Tools
- Installing and Readying Java JDK
- Installing and Readying Android Studio
- Installing and Readying Android Studio on Mac & Linux
- Let’s Revise
Polishing Your Jewels
Android Development <="click"